package com.ruoyi.lxy.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问卷结果业务对象 t_questionnaire_reslut
 *
 * @author ruoyi
 * @date 2023-08-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TQuestionnaireReslutBo extends BaseEntity {

    /**
     * 问卷结果表
     */
    @NotNull(message = "问卷结果表不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 问卷id
     */
    @NotNull(message = "问卷id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long questionnaireId;

    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 参加,0是,1否
     */
    @NotNull(message = "参加,0是,1否不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isAttend;

    /**
     * 意向路线
     */
    // @NotBlank(message = "意向路线不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long[] intendedRoute;

    /**
     * 携带家属,0是,1否
     */
    @NotNull(message = "携带家属,0是,1否不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isBringdepe;

    /**
     * 意愿携带家属个数
     */
    @NotNull(message = "意愿携带家属个数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long dependentNum;


}
